#define _CRT_SECURE_NO_WARNINGS
#include"RBTree.h"

int main()
{
	RBTree<int, int> rb;
	int arr[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	for (auto& e : arr)
	{
		rb.Insert(make_pair(e,e));
	}
	rb.Order();
	cout << rb.IsValidRBTree() << endl;
	return 0;
}